package com.mmd.common.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

/**
 * table --> mmd_menu
 * remarks --> 
 */
@ApiModel(value = "mmd_menu",description = "")
public class MmdMenu implements Serializable {

    @ApiModelProperty(value="menuId",name="菜单ID")
    private Long menuId;

    @ApiModelProperty(value="menuName",name="菜单名称")
    private String menuName;

    @ApiModelProperty(value="level",name="菜单等级，1-一级菜单，2-二级菜单")
    private Integer level;

    @ApiModelProperty(value="parentMenuId",name="父级ID")
    private Long parentMenuId;

    @ApiModelProperty(value="type",name="1-页面，2-按钮")
    private Integer type;

    @ApiModelProperty(value="createTime",name="创建时间")
    private Date createTime;

    private static final long serialVersionUID = 1L;

    public Long getMenuId() {
        return menuId;
    }

    public void setMenuId(Long menuId) {
        this.menuId = menuId;
    }

    public String getMenuName() {
        return menuName;
    }

    public void setMenuName(String menuName) {
        this.menuName = menuName;
    }

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

    public Long getParentMenuId() {
        return parentMenuId;
    }

    public void setParentMenuId(Long parentMenuId) {
        this.parentMenuId = parentMenuId;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        return "MmdMenu{" +
                "menuId=" + menuId +
                ", menuName='" + menuName + '\'' +
                ", level=" + level +
                ", parentMenuId=" + parentMenuId +
                ", type=" + type +
                ", createTime=" + createTime +
                '}';
    }
}